package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void insert(Permission permission);
    void delete(Long id);
    void update(Permission permission);
    Permission select(Long id);
    List<Permission> listAll();
    //分页查询的方法
    PageInfo<Permission> query(QueryObject qo);

    void reload();
    List<String > selectByEmpId(Long id);
}
